package studio.raptor.databus.command;

import java.io.Serializable;

/**
 * Created  on 2017/4/25.
 */
public class EventBasicData implements Serializable {
    /**
     * 事件来源
     */
    private String eventSource ;
    /**
     * 事件序号
     */
    private String eventSeq ;
    /**
     * 事件名称
     */
    private String eventName;
    /**
     * 事件投递时间，格式: 2017-04-22 16:21:21
     */
    private String deliverTime;

    public String getEventSource() {
        return eventSource;
    }

    public void setEventSource(String eventSource) {
        this.eventSource = eventSource;
    }

    public String getEventSeq() {
        return eventSeq;
    }

    public void setEventSeq(String eventSeq) {
        this.eventSeq = eventSeq;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(String deliverTime) {
        this.deliverTime = deliverTime;
    }

    @Override
    public String toString() {
        return "EventBasicData{" +
                "eventSource='" + eventSource + '\'' +
                ", eventSeq='" + eventSeq + '\'' +
                ", eventName='" + eventName + '\'' +
                ", deliverTime='" + deliverTime + '\'' +
                '}';
    }
}
